@mixin line-hight($number) {
    height: $number;
    line-height: $number;
}
@mixin bg($bg) {
    background: url("../../../../#{$bg}") 100% 100% no-repeat;
    background-size: cover;
}
@mixin home_lg() {
    .table {
        @include bg("assets/images/news_table.png");
    }
    .title{
        @include line-hight(0.6rem);
        max-width: 12rem;
        margin: 0 auto;
        font-size: 0.28rem;
        color: #000;
        text-align: center;
    }
    .content {
        margin: 0 auto;
        max-width: 12rem;
        font-size: 0.16rem;
    }
}
@mixin home_sm {
    .table {
        @include bg("assets/images/news_table.png");
    }
    .title{
        @include line-hight(0.6rem);
       box-sizing: border-box;
       padding: 0 0.3rem;
        margin: 0 auto;
        font-size: 0.28rem;
        color: #000;
        text-align: center;
    }
    .content {
        margin: 0 auto;
        max-width: 12rem;
        font-size: 0.16rem;
        box-sizing: border-box;
        padding: 0 0.3rem;
    }
}
//* 设备宽度大于 320px 小于 640px */
@media only screen and (min-width: 320px) and (max-width: 640px) {
    @include home_sm;
}
@media only screen and (min-width: 640px) and (max-width: 1024px) {
    @include home_lg;
}
@media screen and (min-width: 1024px) {
    @include home_lg;
}
